package sql;

import packet.sendLocation;
import test.OLDMANDETIAL;
import test.writeSql;


public class selectOldmanLocation {
	
	
	public  void knowLocation(int id) {
	OLDMANDETIAL[] db;	
	OLDMANDETIAL knowLoc=new OLDMANDETIAL();
	db=knowLoc.select_Object(id);
	
	sendLocation p=new sendLocation();	
	p.Latitude=db[0].getLatitudeoldman();
	p.longitude=db[0].getLongitudeoldman();
	p.locationtime=db[0].getLocationtimeoldman();
	writeSql.lc.send(p);

	}
}
